<html>
<head><meta charset="utf-8"><title>inferred args for PathSegment · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/inferred.20args.20for.20PathSegment.html">inferred args for PathSegment</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="234198111"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/inferred%20args%20for%20PathSegment/near/234198111" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> xFrednet <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/inferred.20args.20for.20PathSegment.html#234198111">(Apr 12 2021 at 17:27)</a>:</h4>
<p>Is there a simple way to get the inferred arguments of a <a href="https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/struct.PathSegment.html#structfield.infer_args"><code>PathSegment</code></a> if the <code>infer_args</code> value is true?<br>
This is for a lint in Clippy the code has access to a <a href="https://doc.rust-lang.org/nightly/nightly-rustc/rustc_lint/struct.LateContext.html"><code>LateContext</code></a> with typecheck results etc.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>